home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 December / Australian PC User - December 2003 (CD2).iso / software / apps / files / dwmx2k4.exe / Disk1 / data1.cab / Configuration_En / Debugger / MM_DebugIE.js < prev    next >
Encoding:
JavaScript  |  2003-09-05  |  653 b   |  33 lines

  1.  
  2. // Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved.
  3.  
  4.  
  5. //*************************LOCAL FUNCTIONS**************************
  6.  
  7.  
  8. function MM_hasPropsIE(val)
  9. {
  10.     // for some objects in IE, this check causes a failure, 
  11.     // we need to do the try/catch
  12.     try {
  13.         return MM_hasProps(val);
  14.     } catch(e) {
  15.         //ignore error and return false
  16.         //alert("error caught "+val);
  17.     }
  18.     return false;
  19. }
  20.  
  21.  
  22. function MM_printValIE(val)
  23. {
  24.     // for some objects in IE, this check causes a failure, 
  25.     // we need to do the try/catch
  26.     try {
  27.         return MM_printVal(val);
  28.     } catch(e) {
  29.         // return [error]
  30.         return MM_debugError;
  31.     }
  32. }
  33.